<?php
if($act=='delete')
{
    $file  = getConfig($type);
    //echo $type;exit;
    if(is_file('../'.$folder_docs.$file)) 
    {        
        @unlink('../'.$folder_docs.$file);    
    } 
    saveConfig($type,'');
    page_transfer(getLang('Delete file Success'),$pagetr);
}
?>